<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>修改密码</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 20px;
      background-color: #f4f4f4;
    }

    .container {
      max-width: 300px;
      margin: 50px auto;
      padding: 20px;
      background-color: #fff;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    form {
      display: flex;
      flex-direction: column;
    }

    input[type="text"],
    input[type="password"] {
      margin-bottom: 10px;
      padding: 10px;
      font-size: 16px;
      border: 1px solid #ddd;
      border-radius: 4px;
    }

    input[type="submit"] {
      padding: 10px 20px;
      font-size: 16px;
      color: white;
      background-color: #5cb85c;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }

    input[type="submit"]:hover {
      background-color: #4cae4c;
    }
  </style>
</head>

<body>
  <div class="container">
    <h2>修改密码</h2>
    <form action="/changePassword" method="post">
      <label for="Username">用户名：</label>
      <input type="text" id="Username" name="Username" required><br>

      <label for="OldPassword">当前密码：</label>
      <input type="password" id="OldPassword" name="OldPassword" required><br>

      <label for="NewPassword">新密码：</label>
      <input type="password" id="NewPassword" name="NewPassword" required><br>

      <input type="submit" value="修改密码">
    </form>
  </div>
</body>

</html>